home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / gt_power / gth035.zip / MODEM.MST < prev    next >
Text File  |  1990-08-09  |  10KB  |  245 lines

  1.  
  2.   ┌────────────────────────────────────────────────────────────────────────┐
  3.   │ You are now looking at a "sample" configuration which you should edit  │
  4.   │ as suits your modem type.  The information shown in these boxes is for │
  5.   │ guidance - the indents will ensure that it does not affect the         │
  6.   │ results during testing, but it should be deleted when you have         │
  7.   │ finished editing the file.  (Leave all *unboxed* comments in).         │
  8.   ├────────────────────────────────────────────────────────────────────────┤
  9.   │ Unless there's a good reason for doing otherwise (such as the modem    │
  10.   │ doesn't support it), try to standardise on :                           │
  11.   │                                                                        │
  12.   │       Fixed DTE                                                        │
  13.   │                                                                        │
  14.   │       GT controls answering (eg by S0=0 always in modem)               │
  15.   │                                                                        │
  16.   │       Drop DTR to hangup.                                              │
  17.   │                                                                        │
  18.   │       Presume nothing (begin by restoring factory default if possible) │
  19.   │                                                                        │
  20.   │       Describe everything as best as you can.  It might help you later │
  21.   │           or mean that others can understand why you've done what you  │
  22.   │           have.                                                        │
  23.   └────────────────────────────────────────────────────────────────────────┘
  24.  
  25.     This configuration operates using Fixed DTE rate.
  26.  
  27.     Answering is controlled solely by GT (ie, S0=0 at all times).
  28.     This ensures that the modem does not answer calls at unwanted times.
  29.  
  30.     The setup leaves the modem in "MNP-optional" (&E4) mode, ie a MNP
  31.     connection will be established if the remote end supports it,
  32.     otherwise a non-MNP connection will be established.  &E4 mode is
  33.     not documented in the manual, but works - though it might not on
  34.     older quattrocards.
  35.  
  36.  
  37.     Assumptions:
  38.     -----------
  39.   ┌───────────────────────────────────────────────────────────────────────────┐
  40.   │ If your configuration is dependent on DIPswitch settings or prior entries │
  41.   │ in non-volatile RAM, here is the place to mention it.  Of course, avoid   │
  42.   │ that if possible - but the INIT string may not always have enough space   │
  43.   │ to define everything when starting from an unknown state.                 │
  44.   └───────────────────────────────────────────────────────────────────────────┘
  45.  
  46.     This configuration assumes nothing except the AT&F defaults.
  47.  
  48.     Customising
  49.     -----------
  50.     ┌──────────────────────────────────────────────────┐
  51.     │ Please leave the next note in for people to read │
  52.     └──────────────────────────────────────────────────┘
  53.  
  54.     When used with GT-Help, all non-indented lines are copied to the GT-CNF
  55.     file.  So if editing, be sure to keep comments and commands suitably
  56.     distinguished in this way.
  57.  
  58.     -------------------------------------------------------------------
  59.  
  60.     BA= Default Baud Rate.  Usually the highest rate the DTE interface supports.
  61.  
  62. BA=2400
  63.  
  64.     -------------------------------------------------------------------
  65.  
  66.     MB= Maximum Baud Rate.  Usually the highest line rate the modem supports.
  67.  
  68. MB=2400
  69.  
  70.     -------------------------------------------------------------------
  71.     CS= Honor CTS from modem option.  Usually wanted, ALWAYS if fixed DTE rate.
  72.  
  73. CS=TRUE
  74.  
  75.     -------------------------------------------------------------------
  76.     Non-hayes setups.  If not applicable, leave them listed but empty to
  77.     ensure old contents are properly overwritten when transferred to GT.CNF.
  78.  
  79. S2=
  80. S4=
  81. S5=
  82. S6=
  83. S7=
  84. S8=
  85. P0=
  86. P1=
  87. P2=
  88. P3=
  89. P4=
  90. P5=
  91. P6=
  92. P7=
  93.     -------------------------------------------------------------------
  94.   ┌─────────────────────────────────────────────────────────────────────┐
  95.   │ This is really for the end user to change.  The distributed library │
  96.   │ copy ought to stick with pulse dialling unless unsupported.         │
  97.   └─────────────────────────────────────────────────────────────────────┘
  98.  
  99.     Standard Dialling Prefix.  You will want to change this to ATTD if
  100.     your phone line and modem both support tone dialling.
  101.  
  102. PR=ATPD
  103.  
  104.     -------------------------------------------------------------------
  105.  
  106.      PO= Dialing Post String.  Usually just a | (for carriage return).
  107.  
  108. PO=|
  109.  
  110.     -------------------------------------------------------------------
  111.  
  112.      HU= The modem hang-up string.  Normally keep it *empty* (DTR control).
  113.  
  114. HU=
  115.  
  116.     -------------------------------------------------------------------
  117.   ┌────────────────────────────────────────────────────────────────────────────┐
  118.   │ This is the one that's likely to need most work.  Begin by re-establishing │
  119.   │ factory defaults if that's possible, then change everything that needs     │
  120.   │ to be different.  There may not be enough space to do this, see above      │
  121.   │ if dipswitch settings or non-volatile RAM conditions must be preset.       │
  122.   │                                                                            │
  123.   │ Describe the parameters used, and reasons where appropriate, as comments.  │
  124.   └────────────────────────────────────────────────────────────────────────────┘
  125.  
  126.     MI= Modem initialization string :
  127.  
  128.   - - - line length limit - - - - - - - ──┐
  129.                                           │
  130. MI=~AT&F&C1&D3&E4&I1&K2X6S10=35|
  131.  
  132.         &F      restores factory defaults, so you don't have to have
  133.                 to know what's specified in non-volatile RAM.
  134.  
  135.         &C1     is important - prevents modem from pretending there's a
  136.                 carrier when there isn't.
  137.  
  138.         &D3     ensures modem disconnects and is reset whenever DTR is dropped
  139.  
  140.         &E4     enables MNP error correction
  141.  
  142.         &I1     enables constant speed interface (connect message showing
  143.                 line speed)
  144.  
  145.         &K2     enables hardware (CTS) flow control
  146.  
  147.         X6      all response codes enabled
  148.  
  149.         S10=35  keep online until carrier lost for more than about
  150.                 3 seconds
  151.  
  152.     -------------------------------------------------------------------
  153.   ┌─────────────────────────────────────────────────────────────────┐
  154.   │ In most cases you probably won't need too much in the HOST init │
  155.   │ string (only the difference from the MI string above).          │
  156.   └─────────────────────────────────────────────────────────────────┘
  157.  
  158.      HO= Host mode, modem initialization string.
  159.  
  160. HO=~ATS2=43 S10=25|
  161.  
  162.         S2=43   stops command mode if user types +++
  163.  
  164.         S10=25  slightly tighter carrier monitoring when in host
  165.  
  166.     -------------------------------------------------------------------
  167.  
  168.      AS= Answer string.
  169.  
  170. AS=~ATA|
  171.  
  172.     -------------------------------------------------------------------
  173.   ┌─────────────────────────────────────────────────────────────────────┐
  174.   │ For uniformity we will set these both up as SPEAKER ON.  Users can  │
  175.   │ change it via the ALT-I command if they want something different.   │
  176.   └─────────────────────────────────────────────────────────────────────┘
  177.  
  178.      SY= Speaker command for initial dialling (change to M0 for speaker off)
  179.  
  180. SY=~ATM1|
  181.  
  182.     -------------------------------------------------------------------
  183.  
  184.      SN= Speaker command for repeat dialling (change to M0 for speaker off)
  185.  
  186. SN=~ATM1|
  187.  
  188.     -------------------------------------------------------------------
  189.  
  190.      FC= Forced Carrier.  You definitely don't want this.
  191.  
  192. FC=FALSE
  193.  
  194.     -------------------------------------------------------------------
  195.   ┌───────────────────────────────────────────────────────────────────────────┐
  196.   │ In the result codes section, you need to include all possible             │
  197.   │ result codes for the configuration you have set up, plus (if possible)    │
  198.   │ result codes for alternative error corrections that might get used in     │
  199.   │ terminal mode.                                                            │
  200.   │                                                                           │
  201.   │ Remember :                                                                │
  202.   │ a)  at 300 bauds some modems return just CONNECT -  others CONNECT 300.   │
  203.   │ b)  GT has no slot for 300 with error correction - so the result code     │
  204.   │         for 300 and 300/ARQ or whatever must both show on RC=1            │
  205.   │ c)  some V23 modems give CONNECT 7512 rather than 1275 on incoming calls. │
  206.   └───────────────────────────────────────────────────────────────────────────┘
  207.  
  208.     RC= Result  codes.
  209.  
  210. RC=0,OK,Trying to connect:-
  211. RC=1,CONNECT 300,CONNECT 300/REL
  212. RC=2,RING
  213. RC=3,NO CARRIER,(Timeout),(Aborted!)
  214. RC=4,ERROR
  215. RC=5,CONNECT 1200,CONNECT 1275
  216. RC=6,NO DIALTONE
  217. RC=7,BUSY
  218. RC=8,NO ANSWER,BLACKLISTED
  219. RC=9,
  220. RC=10,CONNECT 2400
  221. RC=11,
  222. RC=12,
  223. RC=13,CONNECT 9600
  224. RC=14,CONNECT 1200/ARQ ON,CONNECT 1275/ARQ ON
  225. RC=15,CONNECT 1200/REL,CONNECT 1275/REL
  226. RC=16,CONNECT 2400/REL,CONNECT 2400/ARQ ON
  227. RC=17,
  228. RC=18,
  229. RC=19,
  230.  
  231.     -------------------------------------------------------------------
  232.  
  233.      HN= Off-hook string.  Sent to modem when the sysop logs on to GT locally.
  234.         Often used to make it go off-hook, though its not compulsory.
  235.  
  236. HN=~ATH1|
  237.  
  238.     -------------------------------------------------------------------
  239.  
  240.      HY= On-hook string.  Sent to modem when sysop logs off after local use
  241.  
  242. HY=~ATH0|
  243.  
  244.     *** END ***
  245.